Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluentui/react-slider

Package Overview
Dependencies
Maintainers
13
Versions
1015
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-slider

Fluent UI React Slider component.

  • 0.0.0-nightlyff78d1e27a20220217.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
107K
increased by1.42%
Maintainers
13
Weekly downloads
 
Created
Source

@fluentui/react-slider

React Slider components for Fluent UI React

The Slider component allows users to quickly select a value (or range) by dragging a thumb across a rail. It is often used when setting values with a relaxed precision such as audio volume and screen brightness.

STATUS: WIP 🚧

These are not production-ready components and should never be used in product. This space is useful for testing new components whose APIs might change before final release.

Usage

To import Slider:

import { Slider } from '@fluentui/react-slider';

Once the Slider component graduates to a production release, the component will be available at:

import { Slider } from '@fluentui/react-components';

Examples

<Slider />
<Slider defaultValue={3} />
<Slider value={sliderValue} onChange={sliderOnChange} />
<Slider min={0} max={10} />
<Slider vertical />
<Slider disabled />
<Slider origin={2} />
<Slider step={10} keyboardStep={2} />
<Slider marks={true} max={10} />
<Slider marks={[30, 40, 80, 100]} />
<Slider marks={[2, { value: 50, label: "50" }]} />
<Slider marks={[2, { value: 50, mark: <MyComponent/>, label: <MyComponent/> }]} />
<Slider size="small" />

FAQs

Package last updated on 17 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc